//
//  BVyue.h
//  BuyVegetable
//
//  Created by zhuzi on 16/10/21.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface BVBalanceHeandView : UIView

-(id)initWithTitelArray:(NSArray *)array;

@property (nonatomic,strong) NSMutableArray * arryTitel;

@property (nonatomic,strong) NSMutableArray * titlesButtonArray;
@property (nonatomic,strong) UIView * lineView;
@property (nonatomic, strong) UIButton *currentTitleButton;

//设置代理
@property id delegate;
@end
@protocol BVBalanceHeandViewDelegate <NSObject>
@required
@optional
-(void)getIndex:(NSInteger*)index;

@end
